import { createApp } from 'vue'
import App from './App.vue'
// 引入v-wave点击动画
import VWave from 'v-wave'
// 引入aos滚动动画
import AOS from 'aos'
import 'aos/dist/aos.css'
// 引入viewer图片预览
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
// import App from './components/title.vue'

import ElementPlus from 'element-plus'
// import './assets/main.css'
// import './assets/theme.css'

// aos动画初始化
AOS.init({
    offset:200,
    duration:1000,
    easing:"ease-in-out-back",
})

// viewer配置
Viewer.setDefaults({
    toolbar: false,
    // transition: false,
    title: false,
    navbar: false,
    // button:false,
    scalable: false,
    rotatable: false,
    tooltip: false,
    inline: false,
})

createApp(App)
.use(ElementPlus)
.use(VWave)
.use(AOS)
.use(Viewer)
.mount('#app')
